<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class ActiveList extends Model
{
    protected $table="active_active";
    //开发活动列表
    public static function activeList(){
        return self::order('active_time',"desc")->select();
    }
    //开发活动详情
    public static function activeDetail($id){
        return self::where("active_id",$id)->find();
    }
}
